<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Camada de Persistencia: mod_persistencia_usuarios.c File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Camada de Persistencia
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">mod_persistencia_usuarios.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="interface__persistencia_8h_source.html">interface_persistencia.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#a2bd836ffe12a1f8922500cc0cbc49d67">SERVIDOR_PERSISTENCIA_USUARIOS</a></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#a014eafba0d9a90e384f8207912b5eedc">Ler_Usuario_BD</a> (FILE *file, char nome_leitura[11], char senha_leitura[7], char identificador_leitura[6])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#a21d17c62de84328288d0d8edaa41e481">cadastrar_usuario_persistencia</a> (char nome_de_usuario[11], char senha[7], int identificador)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#ada7d38ca809c71be760be8e224cfbcf1">autenticar_usuario_persistencia</a> (char nome_de_usuario[11], char senha[7])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#a64fdd39c69b37f4133661e1c8f559aba">alterar_cadastro_persistencia</a> (char nome_de_usuario[11], char senha[7], char novo_nome_de_usuario[11], char nova_senha[7])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#a702638da651f9cca1bdda4331cb05415">encerrar_cadastro_persistencia</a> (char nome_de_usuario[11], char senha[7])</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Usuario *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mod__persistencia__usuarios_8c.html#a9b3d67ca1af1537c2e3f8abe9de4a35d">listar_usuarios_persistencia</a> ()</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="a2bd836ffe12a1f8922500cc0cbc49d67"></a><!-- doxytag: member="mod_persistencia_usuarios.c::SERVIDOR_PERSISTENCIA_USUARIOS" ref="a2bd836ffe12a1f8922500cc0cbc49d67" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="mod__persistencia__usuarios_8c.html#a2bd836ffe12a1f8922500cc0cbc49d67">SERVIDOR_PERSISTENCIA_USUARIOS</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a64fdd39c69b37f4133661e1c8f559aba"></a><!-- doxytag: member="mod_persistencia_usuarios.c::alterar_cadastro_persistencia" ref="a64fdd39c69b37f4133661e1c8f559aba" args="(char nome_de_usuario[11], char senha[7], char novo_nome_de_usuario[11], char nova_senha[7])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="mod__persistencia__usuarios_8c.html#a64fdd39c69b37f4133661e1c8f559aba">alterar_cadastro_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>novo_nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nova_senha</em>[7]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ada7d38ca809c71be760be8e224cfbcf1"></a><!-- doxytag: member="mod_persistencia_usuarios.c::autenticar_usuario_persistencia" ref="ada7d38ca809c71be760be8e224cfbcf1" args="(char nome_de_usuario[11], char senha[7])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="mod__persistencia__usuarios_8c.html#ada7d38ca809c71be760be8e224cfbcf1">autenticar_usuario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a21d17c62de84328288d0d8edaa41e481"></a><!-- doxytag: member="mod_persistencia_usuarios.c::cadastrar_usuario_persistencia" ref="a21d17c62de84328288d0d8edaa41e481" args="(char nome_de_usuario[11], char senha[7], int identificador)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="mod__persistencia__usuarios_8c.html#a21d17c62de84328288d0d8edaa41e481">cadastrar_usuario_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>identificador</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a702638da651f9cca1bdda4331cb05415"></a><!-- doxytag: member="mod_persistencia_usuarios.c::encerrar_cadastro_persistencia" ref="a702638da651f9cca1bdda4331cb05415" args="(char nome_de_usuario[11], char senha[7])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="mod__persistencia__usuarios_8c.html#a702638da651f9cca1bdda4331cb05415">encerrar_cadastro_persistencia</a> </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_de_usuario</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha</em>[7]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a014eafba0d9a90e384f8207912b5eedc"></a><!-- doxytag: member="mod_persistencia_usuarios.c::Ler_Usuario_BD" ref="a014eafba0d9a90e384f8207912b5eedc" args="(FILE *file, char nome_leitura[11], char senha_leitura[7], char identificador_leitura[6])" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="mod__persistencia__usuarios_8c.html#a014eafba0d9a90e384f8207912b5eedc">Ler_Usuario_BD</a> </td>
          <td>(</td>
          <td class="paramtype">FILE *&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>nome_leitura</em>[11], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>senha_leitura</em>[7], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>identificador_leitura</em>[6]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9b3d67ca1af1537c2e3f8abe9de4a35d"></a><!-- doxytag: member="mod_persistencia_usuarios.c::listar_usuarios_persistencia" ref="a9b3d67ca1af1537c2e3f8abe9de4a35d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Usuario* <a class="el" href="mod__persistencia__usuarios_8c.html#a9b3d67ca1af1537c2e3f8abe9de4a35d">listar_usuarios_persistencia</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 3 2013 19:14:32 for Camada de Persistencia by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
